﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ctTopArticle.ascx.cs" Inherits="KhoaLuan.MainSys.Controls.ctTopArticle" %>
<style>
    .title_node {
        border-bottom: 3px solid #c6dd9e;
        height: 5px;
        margin-bottom: 20px;
    }
</style>
<asp:Repeater runat="server" ID="repBaiViet">
    <ItemTemplate>
        <div>
            <div class="fl pad_l7 pad_t5" style="text-align: left; font-family: Tahoma,Arial; font-weight: bold; text-underline-position: inherit; font-size: 13px; width: 500px;">
                <a href="/MainSys/Article.aspx?ArticleID=<%#Eval("PostsID") %>">
                    <%#(Eval("Title").ToString().Length > 65)?(Eval("Title").ToString().Substring(0,65)+" ..."):(Eval("Title").ToString()) %>
                </a>
            </div>
            <div>
                <div style="text-align: right; color: #979797; margin-top: 10px;" runat="server" id="lbDate">
                </div>
            </div>
            <div style="text-align: justify; clear: both; min-height: 80px;">
                <img src="/Images/images.png" runat="server" id="imgHinhMoTa" align="left" valign="top" width="100" style="margin-right: 10px;" border="0">
                <%# HttpUtility.HtmlDecode(Eval("Intro").ToString()) %>
            </div>

            <div style="color: #979797" runat="server" id="lbDonVi"></div>
            <div class="fr clr" style="width: 100%; text-align: right; font-weight: bold">
                <a class="link_red" href="/MainSys/Article.aspx?ArticleID=<%#Eval("PostsID") %>">Chi tiết »</a>
            </div>
            <div class="title_node">
            </div>
        </div>
    </ItemTemplate>
</asp:Repeater>
